Skip to main content

Checkbox

Type

widget

Description

Checkbox description.

Children Properties

Property

NameSummarySyntax
hoverColorThe color of the checkbox when hovered.set the hoverColor of <widget> to <Color> get the hoverColor of <widget>
textStyleThe text style used to render the label.set the textStyle of <widget> to pTextStyle get the textStyle of <widget>
themeDataThe theme mappings of this widgetset the themeData of <widget> to {<array>} get the themeData of <widget>
iconIndeterminateThe icon to show when indeterminate.set the iconIndeterminate of <widget> to pIcon get the iconIndeterminate of <widget>
textSizeThe size of the text.set the textSize of <widget> to pFontName get the textSize of <widget>
formattedWidthThe space needed to fully show the widget horizontallyget the formattedWidth of <widget>
textAlignThe alignment used for the label.set the textAlign of <widget> to pTextAlign get the textAlign of <widget>
iconCheckedThe icon to show when checked.set the iconChecked of <widget> to pIcon get the iconChecked of <widget>
iconSizeThe font style used to render the text.set the iconSize of <widget> to pFontName get the iconSize of <widget>
rippleEffectControl the ripple effect.set the rippleEffect of <widget> to {true | false} get the rippleEffect of <widget>
xStatusThe state of the widget.set the xStatus of <widget> to { true | false | indeterminate } get the xStatus of <widget>
labelThe label of the buttonset the label of <widget> to pLabel
hoverStyleHow the checkbox behaves when hovered.set the hoverStyle of <widget> to tHoverStyle get the hoverStyle of <widget>
iconNameThe icon to show when unchecked.set the iconName of <widget> to pIcon get the iconName of <widget>
textColorThe color of the checkbox.set the textColor of <widget> to <Color> get the textColor of <widget>
activeColorThe color of the checkbox when checked.set the activeColor of <widget> to <Color> get the activeColor of <widget>
textFontThe font style used to render the text.set the textFont of <widget> to pFontName get the textFont of <widget>
normalColorThe color of the checkbox.set the normalColor of <widget> to <Color> get the normalColor of <widget>
labelPlacementThe position of the label.set the labelPlacement of <widget> to tLabelPlacement get the labelPlacement of <widget>